<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			console.log(Math.PI);

			console.log(Math.max(3, 6, 9));

			console.log(Math.pow(6, 2)); //6**2

			console.log(Math.floor(1.6)); //向下取整 1
			console.log(Math.ceil(1.6)); //向上取整  2

			// for (var i = 0; i < 10; i++) {
			// console.log(Math.random()); //随机数 0~1
			// console.log(Math.random() * 10000);
			console.log(Math.ceil(Math.random() * 1000));
			// }
		</script>
	</head>
	<body>
	</body>
</html>
